//
//  FuckFuckFuckTableViewCell.m
//  shopping
//
//  Created by 马田成 on 2017/10/11.
//  Copyright © 2017年 qianyi. All rights reserved.
//

#import "FuckFuckFuckTableViewCell.h"
#import "ForThePaymentViewController.h"
#import "ToSendTheGoodsViewController.h"
#import "ForTheGoodsViewController.h"
#import "SuccessfulDealViewController.h"
#import "AllMyOrderViewController.h"
#import "MyOrderViewController.h"
#import "MyOrderRefundViewController.h"
@implementation FuckFuckFuckTableViewCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}
- (IBAction)quanBuClick:(UIButton *)sender {
    NSLog(@"我的订单");
    MyOrderViewController *myoderVC=[[MyOrderViewController alloc]init];
    myoderVC.hidesBottomBarWhenPushed=YES;
    myoderVC.index = 0;
    
    [((MineViewController *)self.secondViewController).navigationController pushViewController:myoderVC animated:YES];
}
- (IBAction)daiFuKuan:(UIButton *)sender {
    
    NSLog(@"待付款");
    MyOrderViewController *myoderVC=[[MyOrderViewController alloc]init];
    myoderVC.hidesBottomBarWhenPushed=YES;
    myoderVC.index = 1;
    [((MineViewController *)self.secondViewController).navigationController pushViewController:myoderVC animated:YES];
    
    
    
    
}
- (IBAction)yiShouHuo:(UIButton *)sender {
    
    NSLog(@"待评价");
    //    SuccessfulDealViewController *myoderVC=[[SuccessfulDealViewController alloc]init];
    //    myoderVC.hidesBottomBarWhenPushed=YES;
    MyOrderViewController *myoderVC=[[MyOrderViewController alloc]init];
    myoderVC.hidesBottomBarWhenPushed=YES;
    myoderVC.index = 4;
    [((MineViewController *)self.secondViewController).navigationController pushViewController:myoderVC animated:YES];

    
    
    
}
- (IBAction)daiFaHuo:(UIButton *)sender {
    
    NSLog(@"待发货");
    MyOrderViewController *myoderVC=[[MyOrderViewController alloc]init];
    myoderVC.hidesBottomBarWhenPushed=YES;
    myoderVC.index = 2;
    [((MineViewController *)self.secondViewController).navigationController pushViewController:myoderVC animated:YES];
    
    
    
}
- (IBAction)daiShouHuo:(UIButton *)sender {
    
    
    NSLog(@"待收货");
    MyOrderViewController *myoderVC=[[MyOrderViewController alloc]init];
    myoderVC.hidesBottomBarWhenPushed=YES;
    myoderVC.index = 3;
    
    [((MineViewController *)self.secondViewController).navigationController pushViewController:myoderVC animated:YES];
    
    
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
